import request from "@/util/request.js";

export function reqGetReaderTypeList() {
    return request({
        url: '/reader/type/list',
        method: 'get',
    })
}
export function reqCreateReaderType(data) {
    return request({
        url: '/reader/type',
        method: 'post',
        data: data
    })
}
export function reqUpdateReaderType(data) {
    return request({
        url: '/reader/type',
        method: 'put',
        data: data
    })
}
export function reqDeleteReaderType(rederTypeId) {
    return request({
        url: '/reader/type/'+rederTypeId,
        method: 'delete',
    })
}
